﻿using System;

namespace ThinkAway.Net.Sockets
{
    interface IAppClient<T> where T : IProtocol
    {
        event EventHandler<ReveivedEventArgs> Received;
        event EventHandler<ConnectedEventArgs> Connected;
        event EventHandler<DisconnectedEventArgs> Disconnected;


        void Send(T protocol);
    }
}
